package com.ikun.auth.domain.convert;


import com.ikun.auth.domain.entity.AuthUserBO;
import com.ikun.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
* @Description:用户dto转换器
* @Author: gqh
* @Date: 2024/5/17 18:57
*/
@Mapper
public interface AuthUserBOConverter {

    AuthUserBOConverter INSTANCE = Mappers.getMapper(AuthUserBOConverter.class);

    AuthUser convertBOToEntity(AuthUserBO authUserBO);

    AuthUserBO convertEntityToBO(AuthUser authUser);

}